<!--重新许可办理-->
<template>
<div class="public-common">
    <div class="public-title">重新许可申请列表</div>
    <el-button type="primary" icon="el-icon-printer"style="float: right; margin-bottom: 10px;">打印延续评审表</el-button>
    <el-button type="primary" icon="el-icon-printer"style="float: right; margin-bottom: 10px; margin-right: 10px;">经营许可申请表</el-button>
    <el-button type="primary" icon="el-icon-edit" style="float: right; margin-bottom: 10px; margin-right: 10px;" @click="dialogVisible=true">重新许可申请</el-button>
    <el-table :data="tabledata" size="mini" border stripe header-row-class-name="textcenter">
            <el-table-column
                label="车牌号" fixed="left" prop="a1">
            </el-table-column>
            <el-table-column
                label="申请状态" prop="a2">
            </el-table-column>
            <el-table-column
                label="车辆类型" prop="a3">
            </el-table-column>
            <el-table-column
                label="车辆性质" prop="a4">
            </el-table-column>
            <el-table-column
                label="车主姓名" prop="a5">
            </el-table-column>
            <el-table-column
                label="经营权开始时间" prop="a6">
            </el-table-column>
            <el-table-column
                label="经营权结束时间" prop="a7">
            </el-table-column>
            <el-table-column
                label="申请提交人" prop="a8">
            </el-table-column>
            <el-table-column
                label="申请提交时间" prop="a9">
            </el-table-column>
        </el-table>
        <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page="page.now"
        :page-sizes="page.sizes"
        :page-size="page.pagesize"
        layout="total, sizes, prev, pager, next, jumper"
        :total="page.total" style="margin-top:10px;">
        </el-pagination>
        <el-dialog title="重新许可申请" :visible.sync="dialogVisible" width="40%" >
        	<el-form :model="editForm" ref="editForm" label-width="80px" class="qysb-form-f" >
        	<el-scrollbar style="height:100%;">
            <div class="fuwukab">延续条件验证</div>
        		<el-row>
        			<el-col :span="24">
        			  <el-form-item label="车牌号" class="cyqlabel">
        			  		<el-input size="small" v-model="editForm.chongx1" >
                      <el-button slot="append" icon="el-icon-search">查询</el-button>
                    </el-input>
        			  </el-form-item>
        			</el-col>
            </el-row>
            <div class="fuwukab">车辆基本信息</div>
            <el-row>
              <el-col :span="12">
                <el-form-item label="单位名称" class="cyqlabel">
                		<el-input size="small" v-model="editForm.chongx2" ></el-input>
                </el-form-item>
              </el-col>
              <el-col :span="12">
                <el-form-item label="车辆性质" class="cyqlabel">
                		<el-input size="small" v-model="editForm.chongx3" ></el-input>
                </el-form-item>
              </el-col>
        		</el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="现经营权期限" class="cyqlabel">
                		<el-input size="small" v-model="editForm.chongx4" ></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <div style="text-align:center;margin-top:6px;">
              <el-button type="primary" @click="">确认</el-button>
              <el-button type="info" size="small" @click="dialogVisible=false">关闭</el-button>
            </div>
           </el-scrollbar>
           </el-form>
         </el-dialog>
</div>
</template>

<script>
export default {
    data(){
        return {
          dialogVisible:false,
          tabledata:[
            {
                a1: '陕A28584',
                a2: '已申请',
                a3: '轿车',
                a4: '集体',
                a5: '刘德号',
                a6: '2018-12-10',
                a7: '2019-12-10',
                a8: '丁建国',
                a9: '2019-12-10',
            },
            {
                a1: '陕A28123',
                a2: '已申请',
                a3: '轿车',
                a4: '集体',
                a5: '刘奉化',
                a6: '2018-12-10',
                a7: '2019-12-10',
                a8: '丁建国',
                a9: '2019-12-10',
            },
            {
                a1: '陕A28534',
                a2: '已申请',
                a3: '轿车',
                a4: '集体',
                a5: '刘倚天',
                a6: '2018-12-10',
                a7: '2019-12-10',
                a8: '丁建国',
                a9: '2019-12-10',
            },
          ],
          page:{
            now:1,
            pagesize:10,
            sizes:[2,10, 20, 50, 100],
            total:0,
            key:''
          },
          editForm:{
            chongx1:'',
            chongx2:'',
            chongx3:'',
            chongx4:'',
          }
        }
    },
    methods:{
        //分页
        handleSizeChange(pagesize){
            this.page.pagesize = pagesize;
            this.search(true,true);
        },
        handleCurrentChange(pageno){
            this.page.now = pageno;
            this.search(true,true);
        }

    }
}
</script>

<style>
  .cyqlabel .el-form-item__label{ width: 100px !important;}
  .cyqlabel .el-form-item__content{ margin-left: 100px  !important;}
  .public-common .el-form-item .el-input{ width: 100%;}
  .public-title,.fuwukab{line-height: 30px;background-color: #deecfd;padding:0 10px;margin-bottom:20px;color: #15428F}
  .el-scrollbar__wrap{ margin: 0 !important;}
</style>
